package com.demo.house.service;

import com.demo.house.entity.Appointment;
import com.demo.house.vo.request.RequestAppointmentVo;
import com.demo.house.vo.response.ResponseAppointmentSelectLandlordVo;

import java.util.List;

public interface AppointmentService {

    //插入数据

    int insertSelective(RequestAppointmentVo appointmentVo);

    //租客查询预约信息
    List<Appointment> selectUserId(Integer id);

    //  房东查询预约
    List<Appointment> selectByUserIdList(Integer id);

    //审核预约
    int Review(Appointment app);

    // 审核预约
    void ReviewReservation(Integer id);

    // 不同意预约
    void disagreeReservation(Integer id);
}
